package com.ljf.task.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 任务列表  task_dat_task_tabulation  任务类型  task_type  枚举
 *
 * @author LJF
 * @since 2024-12-25
 */
@Getter
@AllArgsConstructor
public enum TaskDatTaskTabulationTaskTypeEnum implements BasicEnum {

    INTERFACE_OPTIMIZATION(1, "界面优化", "finish", false, true, false),
    OPERATION_OPTIMIZATION(2, "操作优化", "finish", false, true, true),
    NEW_DEMAND(3, "新需求", "finish", true, true, true),
    BUG_FIXES(4, "bug修复", "fix bug", true, true, true);

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

    @JsonProperty("submitPrefix")
    @ApiModelProperty(value = "提交前缀")
    private final String submitPrefix;

    @JsonProperty("databaseProcessing")
    @ApiModelProperty(value = "数据库处理展示")
    private final Boolean databaseProcessing;

    @JsonProperty("frontEndDevelopment")
    @ApiModelProperty(value = "前端开发展示")
    private final Boolean frontEndDevelopment;

    @JsonProperty("backendDevelopment")
    @ApiModelProperty(value = "后端开发展示")
    private final Boolean backendDevelopment;

}
